﻿@model bool;
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *,
        :before,
        :after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        }

        body {
            background: #f5f5f5;
            font-family: "Roboto", "Helvetica", "sans-serif";
        }

        header,
        main {
            display: flex;
            flex-wrap: wrap;
            width: 100%;
            min-width: 300px;
            top: 0;
            right: 0;
            will-change: width;
            transform: translateZ(0);
            transition: 0.3s;
        }

        button,
        input {
            background: transparent;
            border: none;
            outline: none;
            font-family: "Roboto", "Helvetica", "sans-serif";
        
        }

        .menu {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            margin: 12px;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .mobile-only {
            display: none;
        }

        .ripple {
            overflow: hidden;
            position: relative;
  
        }

            .ripple .rippling {
                position: absolute;
                border-radius: 50%;
                background-color: #fff;
                pointer-events: none;
                opacity: 0.4;
                transform: translate3d(-50%, -50%, 0);
            }

        header {
            align-items: center;
            background: #ff5722;
            color: #fff;
            position: fixed;
            z-index: 5;
        }

            header.shadow {
                box-shadow: 0 3px 12px rgba(0, 0, 0, 0.23), 0 3px 12px rgba(0, 0, 0, 0.16);
            }

            header .menu {
                background: url(https://cbwconline.com/IMG/Codepen/Menu.svg) center no-repeat;
            }

                header .menu:hover {
                    background-color: #f83c00;
                }

            header h1 {
                font-weight: 400;
                font-size: 20px;
            }

            header input {
                background: rgba(255, 255, 255, 0.3);
                width: 50vw;
                max-width: 800px;
                height: 48px;
                padding: 12px;
                border-radius: 3px;
                margin: 5px auto;
                color: #fff;
                transition: 0.3s, width 0.01s;
            }

                header input:focus, header input:active {
                    background: #fff;
                    color: #000;
                    box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.1);
                }

            header label {
                width: 36px;
                height: 36px;
                background: url(https://cbwconline.com/IMG/Codepen/Search-White.svg) center no-repeat;
                border-radius: 50%;
            }

                header label.close {
                    background: url(https://cbwconline.com/IMG/Codepen/Close-White.svg) center no-repeat;
                }

            header label {
                margin-left: auto;
            }

            header .profile {
                width: 36px;
                height: 36px;
                background: url("https://lh3.googleusercontent.com/-UOuFk3MaIyE/AAAAAAAAAAI/AAAAAAAAAAA/AOtt-yEtASpZiUmh0TBq1JxqceBZswmVVg/s32-c-mo/photo.jpg") center/contain no-repeat;
                border-radius: 50%;
                margin: 0 15px;
            }

            header ul {
                display: flex;
                width: 100%;
                position: relative;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            header li {
                flex-shrink: 0;
                list-style: none;
                padding: 15px;
                color: rgba(255, 255, 255, 0.8);
                font-size: 14px;
                font-weight: 500;
                text-transform: uppercase;
                user-select: none;
                cursor: pointer;
            }

                header li.active {
                    color: #fff;
                }

            header .slider {
                height: 3px;
                background: #fff;
                position: absolute;
                bottom: 0;
                left: 0;
                transition: 0.3s;
            }

    </style>
</head>
<body>

    <header style="height:112px;z-index:999;">
            <button class="menu ripple" type="menu"></button>
            <h1>TiBo Shop</h1>
            @{
                if (Model)
                {
                <form action="/Mall/CheckCommodityByifo" method="post">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input class="desktop-only" id="input" type="text" name="searchvalue" placeholder="Search" />
                    <input style="display:inline;width:100px;height:50px;position:absolute;right:200px;" type="submit" value="搜索" />
                    <label class="mobile-only ripple" for="input"></label>
                </form>
                }
            }
            <div class="profile"></div>

        </header>
</body>
</html>     